﻿using System.Xml;
using UnityEngine;

namespace EditorFrameWork
{
    public abstract class XMLGUIContainedBase: XMLGUIBase
    {
        
        private XMLGUI m_Xmlgui = new XMLGUI();

        public XMLGUI Xmlgui
        {
            get { return m_Xmlgui; }
        }

        public override void ParseXML(XmlElement xmlElement, XMLGUI roolXMLGUI)
        {
            base.ParseXML(xmlElement, roolXMLGUI);
            m_Xmlgui.ChildElements2GUIBase(xmlElement, roolXMLGUI);
        }

    }
}